/*
 * mathlib.h
 *
 *  Created on: Jan 29, 2010
 *      Author: Marco Luisi
 */

#ifndef MATHLIB_H_
#define MATHLIB_H_

typedef struct {
	int rows;
	int columns;
	int saved;
	char name[8];
	double **mat;
} matrix_t;
//limiti MAX INT?

matrix_t add(matrix_t *,matrix_t *);
matrix_t sub(matrix_t *,matrix_t *);
matrix_t mul(matrix_t *,matrix_t *);
matrix_t trasp(matrix_t *);


#endif /* MATHLIB_H_ */
